/*
* @Author: wanghongfucoder
* @Date:   2017-04-01 10:00:14
* @Last Modified by:   wanghongfucoder
* @Last Modified time: 2017-04-01 10:06:42
*/

public  class BusinessDelegate  {
	
	private BusinessLookUp lookupService=new BusinessLookUp();
	private BusinessService  businessService;
	private String serviceType;

	public void setServiceType(String serviceType){
		this.serviceType=serviceType;
	}

	public void doTask(){
		businessService=lookupService.getBusinessService(serviceType);
		businessService.doProcessing();
	}
}